//
//
//

#ifndef CCLIENTLINKER_H
#define CCLIENTLINKER_H

#include "../irrNetLite/include/irrNet.h"
#include "../irrNetLite/include/INetManager.h"
#include "../irrNetLite/include/SPacket.h"

#include "CGenricTask.h"

class CClientLinker : public irr::net::INetCallback, public	CGenericTask
{
public:
	//bool	Init( char* server_ip = "59.78.58.196" );
	virtual	bool	Init( char* server_ip = "127.0.0.1" );
	virtual	void	handlePacket(irr::net::SInPacket& packet);
	virtual	bool	Update();
	virtual	bool	IsAlive();

protected:
private:
	irr::net::INetManager*	m_pNetManager;
};

#endif
